/*访问后台的代码*/
layui.define([], function(exports) {
    var api={
            updateAodIndustryKeyword:function(form,callback){
                var formPara = form.serializeJson();
                if (!formPara.industryId) {
                    Common.info("请选择行业类别");
                    return;
                }
                Lib.submitForm("/aod/aodIndustryKeyword/update.json",form,{},callback)
            },
            addAodIndustryKeyword:function(form,callback){
                var formPara = form.serializeJson();
                if (!formPara.industryId) {
                    Common.info("请选择行业类别");
                    return;
                }
                Lib.submitForm("/aod/aodIndustryKeyword/add.json",form,{},callback)
            },
            del:function(ids,callback){
                Common.post("/aod/aodIndustryKeyword/delete.json",{"ids":ids},function(){
                    callback();
                })
            }
            ,
            exportExcel:function(form,callback){
                var formPara = form.serializeJson();
                Common.post("/aod/aodIndustryKeyword/excel/export.json", formPara, function(fileId) {
                    callback(fileId);
                })
            }
		
    };
    exports('aodIndustryKeywordApi',api);
});